<template>
  <div class="login_container">
    <div class="login_box">
      <!-- <div class="avatar_box">
        <img src="../assets/logo.png">
      </div> -->
      <p class="tip">Have you followed your heart today?</p>
      <el-form>
        <el-form-item>
          <el-input placeholder="Username"></el-input>
        </el-form-item>
        <el-form-item>
          <el-input placeholder="Password"
                    show-password></el-input>
        </el-form-item>
        <el-form-item>
          <el-button class="login_btn">Login</el-button>
        </el-form-item>
      </el-form>
    </div>
  </div>
</template>

<script>
export default {

}
</script>

<style lang="less" scoped>
.login_container {
  position: relative;
  background-color: #57606f;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: linear-gradient(
    94.3deg,
    rgba(12, 36, 97, 1) 10.9%,
    rgba(10, 61, 98, 1) 87.1%
  );
}
.login_container::before {
  content: "";
  position: absolute;
  width: 450px;
  height: 450px;
  top: 50%;
  left: 50%;
  transform: translate(-100%, -80%);
  background-color: #ffe53b;
  background-image: linear-gradient(146deg, #ffe53b 0%, #ff2525 74%);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.2);
  animation: pulse 1.5s infinite;
}
.login_container::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 300px;
  height: 300px;
  top: 50%;
  left: 50%;
  transform: translate(10%, 20%);
  background-color: #ffe53b;
  background-image: linear-gradient(146deg, #ffe53b 0%, #ff2525 74%);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.2);
  animation: pulse 1.5s infinite;
}
.login_box {
  width: 300px;
  background-color: #000;
  border-radius: 3px;
  position: relative;
  padding: 30px;
  .tip {
    margin-bottom: 30px;
    text-align: center;
  }
  .login_btn {
    width: 100%;
  }
}
</style>
